package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 散户信息管理对象 sys_retail
 *
 * @author ruoyi
 * @date 2024-07-22
 */
public class SysRetail extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 散户id
     */
    private Long rId;

    /**
     * 供应商id
     */
    private Long supplierId;

    /**
     * 负责人姓名
     */
    @Excel(name = "负责人姓名")
    private String rContact;

    @Excel(name = "负责人联系电话")
    private String rPhone;

    /**
     * 散户经度
     */
    @Excel(name = "散户经度")
    private String rLongitude;

    /**
     * 散户纬度
     */
    @Excel(name = "散户纬度")
    private String rLatitude;

    /**
     * 散户和供应商的合作协议
     */
    @Excel(name = "散户和供应商的合作协议")
    private String agreement;

    /**
     * 散户生产状态（0正常，1停产）
     */
    @Excel(name = "散户生产状态", readConverterExp = "0=正常，1停产")
    private String rStatus;

    public void setrId(Long rId) {
        this.rId = rId;
    }

    public Long getrId() {
        return rId;
    }

    public void setSupplierId(Long supplierId) {
        this.supplierId = supplierId;
    }

    public Long getSupplierId() {
        return supplierId;
    }

    public void setrContact(String rContact) {
        this.rContact = rContact;
    }

    public String getrPhone() {
        return rPhone;
    }

    public void setrPhone(String rPhone) {
        this.rPhone = rPhone;
    }

    public String getrContact() {
        return rContact;
    }

    public void setrLongitude(String rLongitude) {
        this.rLongitude = rLongitude;
    }

    public String getrLongitude() {
        return rLongitude;
    }

    public void setrLatitude(String rLatitude) {
        this.rLatitude = rLatitude;
    }

    public String getrLatitude() {
        return rLatitude;
    }

    public void setAgreement(String agreement) {
        this.agreement = agreement;
    }

    public String getAgreement() {
        return agreement;
    }

    public void setrStatus(String rStatus) {
        this.rStatus = rStatus;
    }

    public String getrStatus() {
        return rStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("rId", getrId())
                .append("supplierId", getSupplierId())
                .append("rContact", getrContact())
                .append("rPhone", getrPhone())
                .append("rLongitude", getrLongitude())
                .append("rLatitude", getrLatitude())
                .append("agreement", getAgreement())
                .append("rStatus", getrStatus())
                .toString();
    }
}
